home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Very Best of Atari Inside
/
The Very Best of Atari Inside 1.iso
/
mint
/
mntlb20
/
lib
/
sgtty.c
< prev
next >
Wrap
C/C++ Source or Header
|
1991-02-17
|
273b
|
22 lines
/*
* Written by Eric R. Smith for the Atari ST
*/
#include <ioctl.h>
int
stty(fd, _tty)
int fd;
struct sgttyb *_tty;
{
return ioctl(fd, TIOCSETP, _tty);
}
int
gtty(fd, _tty)
int fd;
struct sgttyb *_tty;
{
return ioctl(fd, TIOCGETP, _tty);
}